import request from '@/utils/request';

const fmtDonorCheckUpApi = {};

fmtDonorCheckUpApi.list = () => {
	return request({
		url: '/platform-api/fmt-donor-checkup/list',
		method: 'get',
	})
}
fmtDonorCheckUpApi.page = (params) => {
	return request({
		url: '/platform-api/fmt-donor-checkup/page',
		method: 'get',
		params: params,
	})
}
fmtDonorCheckUpApi.add = (params) => {
	return request({
		url: '/platform-api/fmt-donor-checkup',
		method: 'post',
		data: params,
	})
}
fmtDonorCheckUpApi.update = (params) => {
	return request({
		url: '/platform-api/fmt-donor-checkup',
		method: 'put',
		data: params,
	})
}
fmtDonorCheckUpApi.get = (id) => {
	return request({
		url: '/platform-api/fmt-donor-checkup/' + id,
		method: 'get',
	})
}
fmtDonorCheckUpApi.delete = (id) => {
	return request({
		url: '/platform-api/fmt-donor-checkup/' + id,
		method: 'delete',
	})
}


export default fmtDonorCheckUpApi